package com.mvetc.dao;


import java.util.Map;

import com.mvetc.entity.Movies;
import com.mvetc.entity.PageInfo;

public interface AdminDao {
	//搜索电影
	public PageInfo<Movies> findByPage(String name,int pageNum, int pageSize);
	//查询所有
	public PageInfo<Movies> findAllByPage(int pageNum, int pageSize);
	//通过字母查询
	public PageInfo<Movies> findAllBySpell(String spell,int pageNum, int pageSize);
	//增加点击量
	public int addCount(String movieId);
}
